#!/bin/sh
vpn_pid=`ps -ef |grep openvpn |grep -v grep |awk '{print $2}'`
kill -9 $vpn_pid
sleep 10
nohup openvpn --config /etc/openvpn/server.conf &

